var http = require("../utils/http.js");
/** 获取首页数据 */
export function fetchHome() {
  return http.request({
    url: "api/app/system/swiper?type=1",
    method: "GET",
    data: {}
  });
}

export function fetchConfig() {
  return http.request({
    url: "api/app/system/config/?group=default",
    method: "GET",
    data: {}
  });
}